﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.Production;

namespace DataObjects.Interface.Production
{
    public interface IUnitsDao
    {
        List<Unit> GetUnits();

        Unit GetUnit(string unitId);

        int GetTotalPage();

        List<Unit> GetUnitsByPage(int currentPage);

        List<Unit> GetUnitsByIsActive(bool isActive);

        void InsertUnit(Unit unit);

        void UpdateUnit(Unit unit);

        void DeleteUnit(Unit unit);
    }
}
